//
// api.js
// vue3-element-admin
//
// Created by 区区电脑 on 2023/04/11.
//


import request from "@/request"


// 添加
export function AddPostInfo(data = {}) {
    return request({url: '/api/SysPost/AddPostInfo', method: 'post', data})
}

// 删除
export function DeletePostInfo(params = {}) {
    return request({url: '/api/SysPost/DeletePostInfo', method: 'delete', params})
}

// 修改
export function UpdatePostInfo(data = {}) {
    return request({url: '/api/SysPost/UpdatePostInfo', method: 'put', data})
}

// 分页
export function GetPostPageList(params = {}, data = {}) {
    return request({url: '/api/SysPost/GetPostPageList', method: 'post', params, data})
}

// 列表
export function GetPostList(data = {}) {
    return request({url: '/api/SysPost/GetPostList', method: 'post', data})
}
